<div class="container">
  
<div class="row">
<ul class="nav justify-content-center">
    <a class="navbar-brand" [routerLink]="['index']" >
        <img src="/assets/img/logo.jpg" width="30" height="30" alt="">
      </a>

      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">新闻</a>
        <div class="dropdown-menu">
          <a class="dropdown-item" [routerLink]="['managelist']">新闻列表</a>
          <a class="dropdown-item" [routerLink]="['editnews','add']">新闻编辑</a>
         
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" [routerLink]="['managelistforuser']">客户用新闻列表</a>
        </div>
      </li>


      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">单页</a>
        <div class="dropdown-menu">
          <a class="dropdown-item" [routerLink]="['uploadsinglepage']">单页列表</a>
          <a class="dropdown-item" [routerLink]="['editsinglepage','add']">单页编辑</a>
          <a class="dropdown-item" [routerLink]="['singlepagelist']">单页模块预览</a>
       </div>
      </li>

      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">轮播区</a>
        <div class="dropdown-menu">
          <a class="dropdown-item" [routerLink]="['showcarousel']">轮播区显示</a>
          <a class="dropdown-item" [routerLink]="['uploadfile']">轮播区管理</a>
      
        </div>
      </li>

      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">课程表</a>
        <div class="dropdown-menu">
          <a class="dropdown-item" [routerLink]="['courseindex']">课程表主页</a>
          <a class="dropdown-item" [routerLink]="['scheduling']">排课</a>
          <a class="dropdown-item" [routerLink]="['book']">课程设置</a>
          <a class="dropdown-item" [routerLink]="['teacher']">教师设置</a>
          <a class="dropdown-item" [routerLink]="['classroom']">教室设置</a>
          <a class="dropdown-item" [routerLink]="['student']">班级设置</a>
      
        </div>
      </li>


  </ul>
</div>


  <router-outlet></router-outlet>


  <!-- Content here -->
</div>


<footer class="container">
  <p class="float-right"><a href="#">Back to top</a></p>
  <p>&copy; 2018-2019 Company, Inc. &middot; 云南民族大学应用技术学院 &middot; 马荣志
    <img src="../assets/img/xmas.gif" width="30" height="25" alt="">
  </p>
</footer>